import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [{
    path: '/',
    name: 'login',
    component: () => import(/* webpackChunkName: "login" */ '../login/Login.vue')
  },
    {
      path: '/login',
      name: 'login',
      component: () => import(/* webpackChunkName: "login" */ '../login/Login.vue')
    },
    {
      path: '/setting',
      name: 'setting',
      component: () => import(/* webpackChunkName: "setting" */ '../setting/Setting.vue')
    },
    {
      path: '/preview',
      name: 'preview',
      component: () => import(/* webpackChunkName: "preview" */ '../preview/Preview.vue')
    },
    {
      path: '/test',
      name: 'test',
      component: () => import(/* webpackChunkName: "test" */ '../test/Test.vue')
    },
    {
      path: '/js/aiw/login',
      name: 'login',
      component: () => import(/* webpackChunkName: "login" */ '../login/Login.vue')
    },
    {
      path: '/js/aiw/setting',
      name: 'setting',
      component: () => import(/* webpackChunkName: "setting" */ '../setting/Setting.vue')
    },
    {
      path: '/js/aiw/preview',
      name: 'preview',
      component: () => import(/* webpackChunkName: "preview" */ '../preview/Preview.vue')
    },
    {
      path: '/test',
      name: 'test',
      component: () => import(/* webpackChunkName: "test" */ '../test/Test.vue')
    },
  ]
})
